#region Copyright (C) 2003-2016 Stimulsoft
/*
{*******************************************************************}
{																	}
{	Stimulsoft Reports												}
{																	}
{	Copyright (C) 2003-2016 Stimulsoft     							}
{	ALL RIGHTS RESERVED												}
{																	}
{	The entire contents of this file is protected by U.S. and		}
{	International Copyright Laws. Unauthorized reproduction,		}
{	reverse-engineering, and distribution of all or any portion of	}
{	the code contained in this file is strictly prohibited and may	}
{	result in severe civil and criminal penalties and will be		}
{	prosecuted to the maximum extent possible under the law.		}
{																	}
{	RESTRICTIONS													}
{																	}
{	THIS SOURCE CODE AND ALL RESULTING INTERMEDIATE FILES			}
{	ARE CONFIDENTIAL AND PROPRIETARY								}
{	TRADE SECRETS OF Stimulsoft										}
{																	}
{	CONSULT THE END USER LICENSE AGREEMENT FOR INFORMATION ON		}
{	ADDITIONAL RESTRICTIONS.										}
{																	}
{*******************************************************************}
*/
#endregion Copyright (C) 2003-2016 Stimulsoft

using System;

namespace Stimulsoft.Controls
{
	/// <summary>
	/// Provides data for the StiValueChangedEvent event.
	/// </summary>
	public class StiValueChangedEventArgs : EventArgs
	{
		private StiTreeView treeView;
		/// <summary>
		/// Gets or sets the TreeView.
		/// </summary>
		public StiTreeView TreeView
		{
			get
			{
				return treeView;
			}
			set
			{
				treeView = value;
			}
		}


		private string text;
		/// <summary>
		/// Gets or sets a changed value.
		/// </summary>
		public string Text
		{
			get
			{
				return text;
			}
			set
			{
				text = value;
			}
		}


		#region Constructors
		public StiValueChangedEventArgs(StiTreeView treeView, string text)
		{
			this.TreeView = treeView;
			this.Text = text;
		}
		#endregion
	}
}
